use crate::inventory::Material;

pub fn to_id(mat: Material) -> u16 {
    match mat {
        Material::Air => 0,
        Material::Stone => 1,
        Material::Granite => 2,
        Material::PolishedGranite => 3,
        Material::Diorite => 4,
        Material::PolishedDiorite => 5,
        Material::Andesite => 6,
        Material::PolishedAndesite => 7,
        Material::GrassBlock => 8,
        Material::Dirt => 9,
        Material::CoarseDirt => 10,
        Material::Podzol => 11,
        Material::CrimsonNylium => 12,
        Material::WarpedNylium => 13,
        Material::Cobblestone => 14,
        Material::OakPlanks => 15,
        Material::SprucePlanks => 16,
        Material::BirchPlanks => 17,
        Material::JunglePlanks => 18,
        Material::AcaciaPlanks => 19,
        Material::DarkOakPlanks => 20,
        Material::CrimsonPlanks => 21,
        Material::WarpedPlanks => 22,
        Material::OakSapling => 23,
        Material::SpruceSapling => 24,
        Material::BirchSapling => 25,
        Material::JungleSapling => 26,
        Material::AcaciaSapling => 27,
        Material::DarkOakSapling => 28,
        Material::Bedrock => 29,
        Material::Sand => 30,
        Material::RedSand => 31,
        Material::Gravel => 32,
        Material::GoldOre => 33,
        Material::IronOre => 34,
        Material::CoalOre => 35,
        Material::NetherGoldOre => 36,
        Material::OakLog => 37,
        Material::SpruceLog => 38,
        Material::BirchLog => 39,
        Material::JungleLog => 40,
        Material::AcaciaLog => 41,
        Material::DarkOakLog => 42,
        Material::CrimsonStem => 43,
        Material::WarpedStem => 44,
        Material::StrippedOakLog => 45,
        Material::StrippedSpruceLog => 46,
        Material::StrippedBirchLog => 47,
        Material::StrippedJungleLog => 48,
        Material::StrippedAcaciaLog => 49,
        Material::StrippedDarkOakLog => 50,
        Material::StrippedCrimsonStem => 51,
        Material::StrippedWarpedStem => 52,
        Material::StrippedOakWood => 53,
        Material::StrippedSpruceWood => 54,
        Material::StrippedBirchWood => 55,
        Material::StrippedJungleWood => 56,
        Material::StrippedAcaciaWood => 57,
        Material::StrippedDarkOakWood => 58,
        Material::StrippedCrimsonHyphae => 59,
        Material::StrippedWarpedHyphae => 60,
        Material::OakWood => 61,
        Material::SpruceWood => 62,
        Material::BirchWood => 63,
        Material::JungleWood => 64,
        Material::AcaciaWood => 65,
        Material::DarkOakWood => 66,
        Material::CrimsonHyphae => 67,
        Material::WarpedHyphae => 68,
        Material::OakLeaves => 69,
        Material::SpruceLeaves => 70,
        Material::BirchLeaves => 71,
        Material::JungleLeaves => 72,
        Material::AcaciaLeaves => 73,
        Material::DarkOakLeaves => 74,
        Material::Sponge => 75,
        Material::WetSponge => 76,
        Material::Glass => 77,
        Material::LapisOre => 78,
        Material::LapisBlock => 79,
        Material::Dispenser => 80,
        Material::Sandstone => 81,
        Material::ChiseledSandstone => 82,
        Material::CutSandstone => 83,
        Material::NoteBlock => 84,
        Material::PoweredRail => 85,
        Material::DetectorRail => 86,
        Material::StickyPiston => 87,
        Material::Cobweb => 88,
        Material::Grass => 89,
        Material::Fern => 90,
        Material::DeadBush => 91,
        Material::Seagrass => 92,
        Material::SeaPickle => 93,
        Material::Piston => 94,
        Material::WhiteWool => 95,
        Material::OrangeWool => 96,
        Material::MagentaWool => 97,
        Material::LightBlueWool => 98,
        Material::YellowWool => 99,
        Material::LimeWool => 100,
        Material::PinkWool => 101,
        Material::GrayWool => 102,
        Material::LightGrayWool => 103,
        Material::CyanWool => 104,
        Material::PurpleWool => 105,
        Material::BlueWool => 106,
        Material::BrownWool => 107,
        Material::GreenWool => 108,
        Material::RedWool => 109,
        Material::BlackWool => 110,
        Material::Dandelion => 111,
        Material::Poppy => 112,
        Material::BlueOrchid => 113,
        Material::Allium => 114,
        Material::AzureBluet => 115,
        Material::RedTulip => 116,
        Material::OrangeTulip => 117,
        Material::WhiteTulip => 118,
        Material::PinkTulip => 119,
        Material::OxeyeDaisy => 120,
        Material::Cornflower => 121,
        Material::LilyOfTheValley => 122,
        Material::WitherRose => 123,
        Material::BrownMushroom => 124,
        Material::RedMushroom => 125,
        Material::CrimsonFungus => 126,
        Material::WarpedFungus => 127,
        Material::CrimsonRoots => 128,
        Material::WarpedRoots => 129,
        Material::NetherSprouts => 130,
        Material::WeepingVines => 131,
        Material::TwistingVines => 132,
        Material::SugarCane => 133,
        Material::Kelp => 134,
        Material::Bamboo => 135,
        Material::GoldBlock => 136,
        Material::IronBlock => 137,
        Material::OakSlab => 138,
        Material::SpruceSlab => 139,
        Material::BirchSlab => 140,
        Material::JungleSlab => 141,
        Material::AcaciaSlab => 142,
        Material::DarkOakSlab => 143,
        Material::CrimsonSlab => 144,
        Material::WarpedSlab => 145,
        Material::StoneSlab => 146,
        Material::SmoothStoneSlab => 147,
        Material::SandstoneSlab => 148,
        Material::CutSandstoneSlab => 149,
        Material::PetrifiedOakSlab => 150,
        Material::CobblestoneSlab => 151,
        Material::BrickSlab => 152,
        Material::StoneBrickSlab => 153,
        Material::NetherBrickSlab => 154,
        Material::QuartzSlab => 155,
        Material::RedSandstoneSlab => 156,
        Material::CutRedSandstoneSlab => 157,
        Material::PurpurSlab => 158,
        Material::PrismarineSlab => 159,
        Material::PrismarineBrickSlab => 160,
        Material::DarkPrismarineSlab => 161,
        Material::SmoothQuartz => 162,
        Material::SmoothRedSandstone => 163,
        Material::SmoothSandstone => 164,
        Material::SmoothStone => 165,
        Material::Bricks => 166,
        Material::Tnt => 167,
        Material::Bookshelf => 168,
        Material::MossyCobblestone => 169,
        Material::Obsidian => 170,
        Material::Torch => 171,
        Material::EndRod => 172,
        Material::ChorusPlant => 173,
        Material::ChorusFlower => 174,
        Material::PurpurBlock => 175,
        Material::PurpurPillar => 176,
        Material::PurpurStairs => 177,
        Material::Spawner => 178,
        Material::OakStairs => 179,
        Material::Chest => 180,
        Material::DiamondOre => 181,
        Material::DiamondBlock => 182,
        Material::CraftingTable => 183,
        Material::Farmland => 184,
        Material::Furnace => 185,
        Material::Ladder => 186,
        Material::Rail => 187,
        Material::CobblestoneStairs => 188,
        Material::Lever => 189,
        Material::StonePressurePlate => 190,
        Material::OakPressurePlate => 191,
        Material::SprucePressurePlate => 192,
        Material::BirchPressurePlate => 193,
        Material::JunglePressurePlate => 194,
        Material::AcaciaPressurePlate => 195,
        Material::DarkOakPressurePlate => 196,
        Material::CrimsonPressurePlate => 197,
        Material::WarpedPressurePlate => 198,
        Material::PolishedBlackstonePressurePlate => 199,
        Material::RedstoneOre => 200,
        Material::RedstoneTorch => 201,
        Material::Snow => 202,
        Material::Ice => 203,
        Material::SnowBlock => 204,
        Material::Cactus => 205,
        Material::Clay => 206,
        Material::Jukebox => 207,
        Material::OakFence => 208,
        Material::SpruceFence => 209,
        Material::BirchFence => 210,
        Material::JungleFence => 211,
        Material::AcaciaFence => 212,
        Material::DarkOakFence => 213,
        Material::CrimsonFence => 214,
        Material::WarpedFence => 215,
        Material::Pumpkin => 216,
        Material::CarvedPumpkin => 217,
        Material::Netherrack => 218,
        Material::SoulSand => 219,
        Material::SoulSoil => 220,
        Material::Basalt => 221,
        Material::PolishedBasalt => 222,
        Material::SoulTorch => 223,
        Material::Glowstone => 224,
        Material::JackOLantern => 225,
        Material::OakTrapdoor => 226,
        Material::SpruceTrapdoor => 227,
        Material::BirchTrapdoor => 228,
        Material::JungleTrapdoor => 229,
        Material::AcaciaTrapdoor => 230,
        Material::DarkOakTrapdoor => 231,
        Material::CrimsonTrapdoor => 232,
        Material::WarpedTrapdoor => 233,
        Material::InfestedStone => 234,
        Material::InfestedCobblestone => 235,
        Material::InfestedStoneBricks => 236,
        Material::InfestedMossyStoneBricks => 237,
        Material::InfestedCrackedStoneBricks => 238,
        Material::InfestedChiseledStoneBricks => 239,
        Material::StoneBricks => 240,
        Material::MossyStoneBricks => 241,
        Material::CrackedStoneBricks => 242,
        Material::ChiseledStoneBricks => 243,
        Material::BrownMushroomBlock => 244,
        Material::RedMushroomBlock => 245,
        Material::MushroomStem => 246,
        Material::IronBars => 247,
        Material::Chain => 248,
        Material::GlassPane => 249,
        Material::Melon => 250,
        Material::Vine => 251,
        Material::OakFenceGate => 252,
        Material::SpruceFenceGate => 253,
        Material::BirchFenceGate => 254,
        Material::JungleFenceGate => 255,
        Material::AcaciaFenceGate => 256,
        Material::DarkOakFenceGate => 257,
        Material::CrimsonFenceGate => 258,
        Material::WarpedFenceGate => 259,
        Material::BrickStairs => 260,
        Material::StoneBrickStairs => 261,
        Material::Mycelium => 262,
        Material::LilyPad => 263,
        Material::NetherBricks => 264,
        Material::CrackedNetherBricks => 265,
        Material::ChiseledNetherBricks => 266,
        Material::NetherBrickFence => 267,
        Material::NetherBrickStairs => 268,
        Material::EnchantingTable => 269,
        Material::EndPortalFrame => 270,
        Material::EndStone => 271,
        Material::EndStoneBricks => 272,
        Material::DragonEgg => 273,
        Material::RedstoneLamp => 274,
        Material::SandstoneStairs => 275,
        Material::EmeraldOre => 276,
        Material::EnderChest => 277,
        Material::TripwireHook => 278,
        Material::EmeraldBlock => 279,
        Material::SpruceStairs => 280,
        Material::BirchStairs => 281,
        Material::JungleStairs => 282,
        Material::CrimsonStairs => 283,
        Material::WarpedStairs => 284,
        Material::CommandBlock => 285,
        Material::Beacon => 286,
        Material::CobblestoneWall => 287,
        Material::MossyCobblestoneWall => 288,
        Material::BrickWall => 289,
        Material::PrismarineWall => 290,
        Material::RedSandstoneWall => 291,
        Material::MossyStoneBrickWall => 292,
        Material::GraniteWall => 293,
        Material::StoneBrickWall => 294,
        Material::NetherBrickWall => 295,
        Material::AndesiteWall => 296,
        Material::RedNetherBrickWall => 297,
        Material::SandstoneWall => 298,
        Material::EndStoneBrickWall => 299,
        Material::DioriteWall => 300,
        Material::BlackstoneWall => 301,
        Material::PolishedBlackstoneWall => 302,
        Material::PolishedBlackstoneBrickWall => 303,
        Material::StoneButton => 304,
        Material::OakButton => 305,
        Material::SpruceButton => 306,
        Material::BirchButton => 307,
        Material::JungleButton => 308,
        Material::AcaciaButton => 309,
        Material::DarkOakButton => 310,
        Material::CrimsonButton => 311,
        Material::WarpedButton => 312,
        Material::PolishedBlackstoneButton => 313,
        Material::Anvil => 314,
        Material::ChippedAnvil => 315,
        Material::DamagedAnvil => 316,
        Material::TrappedChest => 317,
        Material::LightWeightedPressurePlate => 318,
        Material::HeavyWeightedPressurePlate => 319,
        Material::DaylightDetector => 320,
        Material::RedstoneBlock => 321,
        Material::NetherQuartzOre => 322,
        Material::Hopper => 323,
        Material::ChiseledQuartzBlock => 324,
        Material::QuartzBlock => 325,
        Material::QuartzBricks => 326,
        Material::QuartzPillar => 327,
        Material::QuartzStairs => 328,
        Material::ActivatorRail => 329,
        Material::Dropper => 330,
        Material::WhiteTerracotta => 331,
        Material::OrangeTerracotta => 332,
        Material::MagentaTerracotta => 333,
        Material::LightBlueTerracotta => 334,
        Material::YellowTerracotta => 335,
        Material::LimeTerracotta => 336,
        Material::PinkTerracotta => 337,
        Material::GrayTerracotta => 338,
        Material::LightGrayTerracotta => 339,
        Material::CyanTerracotta => 340,
        Material::PurpleTerracotta => 341,
        Material::BlueTerracotta => 342,
        Material::BrownTerracotta => 343,
        Material::GreenTerracotta => 344,
        Material::RedTerracotta => 345,
        Material::BlackTerracotta => 346,
        Material::Barrier => 347,
        Material::IronTrapdoor => 348,
        Material::HayBlock => 349,
        Material::WhiteCarpet => 350,
        Material::OrangeCarpet => 351,
        Material::MagentaCarpet => 352,
        Material::LightBlueCarpet => 353,
        Material::YellowCarpet => 354,
        Material::LimeCarpet => 355,
        Material::PinkCarpet => 356,
        Material::GrayCarpet => 357,
        Material::LightGrayCarpet => 358,
        Material::CyanCarpet => 359,
        Material::PurpleCarpet => 360,
        Material::BlueCarpet => 361,
        Material::BrownCarpet => 362,
        Material::GreenCarpet => 363,
        Material::RedCarpet => 364,
        Material::BlackCarpet => 365,
        Material::Terracotta => 366,
        Material::CoalBlock => 367,
        Material::PackedIce => 368,
        Material::AcaciaStairs => 369,
        Material::DarkOakStairs => 370,
        Material::SlimeBlock => 371,
        Material::GrassPath => 372,
        Material::Sunflower => 373,
        Material::Lilac => 374,
        Material::RoseBush => 375,
        Material::Peony => 376,
        Material::TallGrass => 377,
        Material::LargeFern => 378,
        Material::WhiteStainedGlass => 379,
        Material::OrangeStainedGlass => 380,
        Material::MagentaStainedGlass => 381,
        Material::LightBlueStainedGlass => 382,
        Material::YellowStainedGlass => 383,
        Material::LimeStainedGlass => 384,
        Material::PinkStainedGlass => 385,
        Material::GrayStainedGlass => 386,
        Material::LightGrayStainedGlass => 387,
        Material::CyanStainedGlass => 388,
        Material::PurpleStainedGlass => 389,
        Material::BlueStainedGlass => 390,
        Material::BrownStainedGlass => 391,
        Material::GreenStainedGlass => 392,
        Material::RedStainedGlass => 393,
        Material::BlackStainedGlass => 394,
        Material::WhiteStainedGlassPane => 395,
        Material::OrangeStainedGlassPane => 396,
        Material::MagentaStainedGlassPane => 397,
        Material::LightBlueStainedGlassPane => 398,
        Material::YellowStainedGlassPane => 399,
        Material::LimeStainedGlassPane => 400,
        Material::PinkStainedGlassPane => 401,
        Material::GrayStainedGlassPane => 402,
        Material::LightGrayStainedGlassPane => 403,
        Material::CyanStainedGlassPane => 404,
        Material::PurpleStainedGlassPane => 405,
        Material::BlueStainedGlassPane => 406,
        Material::BrownStainedGlassPane => 407,
        Material::GreenStainedGlassPane => 408,
        Material::RedStainedGlassPane => 409,
        Material::BlackStainedGlassPane => 410,
        Material::Prismarine => 411,
        Material::PrismarineBricks => 412,
        Material::DarkPrismarine => 413,
        Material::PrismarineStairs => 414,
        Material::PrismarineBrickStairs => 415,
        Material::DarkPrismarineStairs => 416,
        Material::SeaLantern => 417,
        Material::RedSandstone => 418,
        Material::ChiseledRedSandstone => 419,
        Material::CutRedSandstone => 420,
        Material::RedSandstoneStairs => 421,
        Material::RepeatingCommandBlock => 422,
        Material::ChainCommandBlock => 423,
        Material::MagmaBlock => 424,
        Material::NetherWartBlock => 425,
        Material::WarpedWartBlock => 426,
        Material::RedNetherBricks => 427,
        Material::BoneBlock => 428,
        Material::StructureVoid => 429,
        Material::Observer => 430,
        Material::ShulkerBox => 431,
        Material::WhiteShulkerBox => 432,
        Material::OrangeShulkerBox => 433,
        Material::MagentaShulkerBox => 434,
        Material::LightBlueShulkerBox => 435,
        Material::YellowShulkerBox => 436,
        Material::LimeShulkerBox => 437,
        Material::PinkShulkerBox => 438,
        Material::GrayShulkerBox => 439,
        Material::LightGrayShulkerBox => 440,
        Material::CyanShulkerBox => 441,
        Material::PurpleShulkerBox => 442,
        Material::BlueShulkerBox => 443,
        Material::BrownShulkerBox => 444,
        Material::GreenShulkerBox => 445,
        Material::RedShulkerBox => 446,
        Material::BlackShulkerBox => 447,
        Material::WhiteGlazedTerracotta => 448,
        Material::OrangeGlazedTerracotta => 449,
        Material::MagentaGlazedTerracotta => 450,
        Material::LightBlueGlazedTerracotta => 451,
        Material::YellowGlazedTerracotta => 452,
        Material::LimeGlazedTerracotta => 453,
        Material::PinkGlazedTerracotta => 454,
        Material::GrayGlazedTerracotta => 455,
        Material::LightGrayGlazedTerracotta => 456,
        Material::CyanGlazedTerracotta => 457,
        Material::PurpleGlazedTerracotta => 458,
        Material::BlueGlazedTerracotta => 459,
        Material::BrownGlazedTerracotta => 460,
        Material::GreenGlazedTerracotta => 461,
        Material::RedGlazedTerracotta => 462,
        Material::BlackGlazedTerracotta => 463,
        Material::WhiteConcrete => 464,
        Material::OrangeConcrete => 465,
        Material::MagentaConcrete => 466,
        Material::LightBlueConcrete => 467,
        Material::YellowConcrete => 468,
        Material::LimeConcrete => 469,
        Material::PinkConcrete => 470,
        Material::GrayConcrete => 471,
        Material::LightGrayConcrete => 472,
        Material::CyanConcrete => 473,
        Material::PurpleConcrete => 474,
        Material::BlueConcrete => 475,
        Material::BrownConcrete => 476,
        Material::GreenConcrete => 477,
        Material::RedConcrete => 478,
        Material::BlackConcrete => 479,
        Material::WhiteConcretePowder => 480,
        Material::OrangeConcretePowder => 481,
        Material::MagentaConcretePowder => 482,
        Material::LightBlueConcretePowder => 483,
        Material::YellowConcretePowder => 484,
        Material::LimeConcretePowder => 485,
        Material::PinkConcretePowder => 486,
        Material::GrayConcretePowder => 487,
        Material::LightGrayConcretePowder => 488,
        Material::CyanConcretePowder => 489,
        Material::PurpleConcretePowder => 490,
        Material::BlueConcretePowder => 491,
        Material::BrownConcretePowder => 492,
        Material::GreenConcretePowder => 493,
        Material::RedConcretePowder => 494,
        Material::BlackConcretePowder => 495,
        Material::TurtleEgg => 496,
        Material::DeadTubeCoralBlock => 497,
        Material::DeadBrainCoralBlock => 498,
        Material::DeadBubbleCoralBlock => 499,
        Material::DeadFireCoralBlock => 500,
        Material::DeadHornCoralBlock => 501,
        Material::TubeCoralBlock => 502,
        Material::BrainCoralBlock => 503,
        Material::BubbleCoralBlock => 504,
        Material::FireCoralBlock => 505,
        Material::HornCoralBlock => 506,
        Material::TubeCoral => 507,
        Material::BrainCoral => 508,
        Material::BubbleCoral => 509,
        Material::FireCoral => 510,
        Material::HornCoral => 511,
        Material::DeadBrainCoral => 512,
        Material::DeadBubbleCoral => 513,
        Material::DeadFireCoral => 514,
        Material::DeadHornCoral => 515,
        Material::DeadTubeCoral => 516,
        Material::TubeCoralFan => 517,
        Material::BrainCoralFan => 518,
        Material::BubbleCoralFan => 519,
        Material::FireCoralFan => 520,
        Material::HornCoralFan => 521,
        Material::DeadTubeCoralFan => 522,
        Material::DeadBrainCoralFan => 523,
        Material::DeadBubbleCoralFan => 524,
        Material::DeadFireCoralFan => 525,
        Material::DeadHornCoralFan => 526,
        Material::BlueIce => 527,
        Material::Conduit => 528,
        Material::PolishedGraniteStairs => 529,
        Material::SmoothRedSandstoneStairs => 530,
        Material::MossyStoneBrickStairs => 531,
        Material::PolishedDioriteStairs => 532,
        Material::MossyCobblestoneStairs => 533,
        Material::EndStoneBrickStairs => 534,
        Material::StoneStairs => 535,
        Material::SmoothSandstoneStairs => 536,
        Material::SmoothQuartzStairs => 537,
        Material::GraniteStairs => 538,
        Material::AndesiteStairs => 539,
        Material::RedNetherBrickStairs => 540,
        Material::PolishedAndesiteStairs => 541,
        Material::DioriteStairs => 542,
        Material::PolishedGraniteSlab => 543,
        Material::SmoothRedSandstoneSlab => 544,
        Material::MossyStoneBrickSlab => 545,
        Material::PolishedDioriteSlab => 546,
        Material::MossyCobblestoneSlab => 547,
        Material::EndStoneBrickSlab => 548,
        Material::SmoothSandstoneSlab => 549,
        Material::SmoothQuartzSlab => 550,
        Material::GraniteSlab => 551,
        Material::AndesiteSlab => 552,
        Material::RedNetherBrickSlab => 553,
        Material::PolishedAndesiteSlab => 554,
        Material::DioriteSlab => 555,
        Material::Scaffolding => 556,
        Material::IronDoor => 557,
        Material::OakDoor => 558,
        Material::SpruceDoor => 559,
        Material::BirchDoor => 560,
        Material::JungleDoor => 561,
        Material::AcaciaDoor => 562,
        Material::DarkOakDoor => 563,
        Material::CrimsonDoor => 564,
        Material::WarpedDoor => 565,
        Material::Repeater => 566,
        Material::Comparator => 567,
        Material::StructureBlock => 568,
        Material::Jigsaw => 569,
        Material::TurtleHelmet => 570,
        Material::Scute => 571,
        Material::FlintAndSteel => 572,
        Material::Apple => 573,
        Material::Bow => 574,
        Material::Arrow => 575,
        Material::Coal => 576,
        Material::Charcoal => 577,
        Material::Diamond => 578,
        Material::IronIngot => 579,
        Material::GoldIngot => 580,
        Material::NetheriteIngot => 581,
        Material::NetheriteScrap => 582,
        Material::WoodenSword => 583,
        Material::WoodenShovel => 584,
        Material::WoodenPickaxe => 585,
        Material::WoodenAxe => 586,
        Material::WoodenHoe => 587,
        Material::StoneSword => 588,
        Material::StoneShovel => 589,
        Material::StonePickaxe => 590,
        Material::StoneAxe => 591,
        Material::StoneHoe => 592,
        Material::GoldenSword => 593,
        Material::GoldenShovel => 594,
        Material::GoldenPickaxe => 595,
        Material::GoldenAxe => 596,
        Material::GoldenHoe => 597,
        Material::IronSword => 598,
        Material::IronShovel => 599,
        Material::IronPickaxe => 600,
        Material::IronAxe => 601,
        Material::IronHoe => 602,
        Material::DiamondSword => 603,
        Material::DiamondShovel => 604,
        Material::DiamondPickaxe => 605,
        Material::DiamondAxe => 606,
        Material::DiamondHoe => 607,
        Material::NetheriteSword => 608,
        Material::NetheriteShovel => 609,
        Material::NetheritePickaxe => 610,
        Material::NetheriteAxe => 611,
        Material::NetheriteHoe => 612,
        Material::Stick => 613,
        Material::Bowl => 614,
        Material::MushroomStew => 615,
        Material::String => 616,
        Material::Feather => 617,
        Material::Gunpowder => 618,
        Material::WheatSeeds => 619,
        Material::Wheat => 620,
        Material::Bread => 621,
        Material::LeatherHelmet => 622,
        Material::LeatherChestplate => 623,
        Material::LeatherLeggings => 624,
        Material::LeatherBoots => 625,
        Material::ChainmailHelmet => 626,
        Material::ChainmailChestplate => 627,
        Material::ChainmailLeggings => 628,
        Material::ChainmailBoots => 629,
        Material::IronHelmet => 630,
        Material::IronChestplate => 631,
        Material::IronLeggings => 632,
        Material::IronBoots => 633,
        Material::DiamondHelmet => 634,
        Material::DiamondChestplate => 635,
        Material::DiamondLeggings => 636,
        Material::DiamondBoots => 637,
        Material::GoldenHelmet => 638,
        Material::GoldenChestplate => 639,
        Material::GoldenLeggings => 640,
        Material::GoldenBoots => 641,
        Material::NetheriteHelmet => 642,
        Material::NetheriteChestplate => 643,
        Material::NetheriteLeggings => 644,
        Material::NetheriteBoots => 645,
        Material::Flint => 646,
        Material::Porkchop => 647,
        Material::CookedPorkchop => 648,
        Material::Painting => 649,
        Material::GoldenApple => 650,
        Material::EnchantedGoldenApple => 651,
        Material::OakSign => 652,
        Material::SpruceSign => 653,
        Material::BirchSign => 654,
        Material::JungleSign => 655,
        Material::AcaciaSign => 656,
        Material::DarkOakSign => 657,
        Material::CrimsonSign => 658,
        Material::WarpedSign => 659,
        Material::Bucket => 660,
        Material::WaterBucket => 661,
        Material::LavaBucket => 662,
        Material::Minecart => 663,
        Material::Saddle => 664,
        Material::Redstone => 665,
        Material::Snowball => 666,
        Material::OakBoat => 667,
        Material::Leather => 668,
        Material::MilkBucket => 669,
        Material::PufferfishBucket => 670,
        Material::SalmonBucket => 671,
        Material::CodBucket => 672,
        Material::TropicalFishBucket => 673,
        Material::Brick => 674,
        Material::ClayBall => 675,
        Material::DriedKelpBlock => 676,
        Material::Paper => 677,
        Material::Book => 678,
        Material::SlimeBall => 679,
        Material::ChestMinecart => 680,
        Material::FurnaceMinecart => 681,
        Material::Egg => 682,
        Material::Compass => 683,
        Material::FishingRod => 684,
        Material::Clock => 685,
        Material::GlowstoneDust => 686,
        Material::Cod => 687,
        Material::Salmon => 688,
        Material::TropicalFish => 689,
        Material::Pufferfish => 690,
        Material::CookedCod => 691,
        Material::CookedSalmon => 692,
        Material::InkSac => 693,
        Material::CocoaBeans => 694,
        Material::LapisLazuli => 695,
        Material::WhiteDye => 696,
        Material::OrangeDye => 697,
        Material::MagentaDye => 698,
        Material::LightBlueDye => 699,
        Material::YellowDye => 700,
        Material::LimeDye => 701,
        Material::PinkDye => 702,
        Material::GrayDye => 703,
        Material::LightGrayDye => 704,
        Material::CyanDye => 705,
        Material::PurpleDye => 706,
        Material::BlueDye => 707,
        Material::BrownDye => 708,
        Material::GreenDye => 709,
        Material::RedDye => 710,
        Material::BlackDye => 711,
        Material::BoneMeal => 712,
        Material::Bone => 713,
        Material::Sugar => 714,
        Material::Cake => 715,
        Material::WhiteBed => 716,
        Material::OrangeBed => 717,
        Material::MagentaBed => 718,
        Material::LightBlueBed => 719,
        Material::YellowBed => 720,
        Material::LimeBed => 721,
        Material::PinkBed => 722,
        Material::GrayBed => 723,
        Material::LightGrayBed => 724,
        Material::CyanBed => 725,
        Material::PurpleBed => 726,
        Material::BlueBed => 727,
        Material::BrownBed => 728,
        Material::GreenBed => 729,
        Material::RedBed => 730,
        Material::BlackBed => 731,
        Material::Cookie => 732,
        Material::FilledMap => 733,
        Material::Shears => 734,
        Material::MelonSlice => 735,
        Material::DriedKelp => 736,
        Material::PumpkinSeeds => 737,
        Material::MelonSeeds => 738,
        Material::Beef => 739,
        Material::CookedBeef => 740,
        Material::Chicken => 741,
        Material::CookedChicken => 742,
        Material::RottenFlesh => 743,
        Material::EnderPearl => 744,
        Material::BlazeRod => 745,
        Material::GhastTear => 746,
        Material::GoldNugget => 747,
        Material::NetherWart => 748,
        Material::Potion => 749,
        Material::GlassBottle => 750,
        Material::SpiderEye => 751,
        Material::FermentedSpiderEye => 752,
        Material::BlazePowder => 753,
        Material::MagmaCream => 754,
        Material::BrewingStand => 755,
        Material::Cauldron => 756,
        Material::EnderEye => 757,
        Material::GlisteringMelonSlice => 758,
        Material::BatSpawnEgg => 759,
        Material::BeeSpawnEgg => 760,
        Material::BlazeSpawnEgg => 761,
        Material::CatSpawnEgg => 762,
        Material::CaveSpiderSpawnEgg => 763,
        Material::ChickenSpawnEgg => 764,
        Material::CodSpawnEgg => 765,
        Material::CowSpawnEgg => 766,
        Material::CreeperSpawnEgg => 767,
        Material::DolphinSpawnEgg => 768,
        Material::DonkeySpawnEgg => 769,
        Material::DrownedSpawnEgg => 770,
        Material::ElderGuardianSpawnEgg => 771,
        Material::EndermanSpawnEgg => 772,
        Material::EndermiteSpawnEgg => 773,
        Material::EvokerSpawnEgg => 774,
        Material::FoxSpawnEgg => 775,
        Material::GhastSpawnEgg => 776,
        Material::GuardianSpawnEgg => 777,
        Material::HoglinSpawnEgg => 778,
        Material::HorseSpawnEgg => 779,
        Material::HuskSpawnEgg => 780,
        Material::LlamaSpawnEgg => 781,
        Material::MagmaCubeSpawnEgg => 782,
        Material::MooshroomSpawnEgg => 783,
        Material::MuleSpawnEgg => 784,
        Material::OcelotSpawnEgg => 785,
        Material::PandaSpawnEgg => 786,
        Material::ParrotSpawnEgg => 787,
        Material::PhantomSpawnEgg => 788,
        Material::PigSpawnEgg => 789,
        Material::PiglinSpawnEgg => 790,
        Material::PiglinBruteSpawnEgg => 791,
        Material::PillagerSpawnEgg => 792,
        Material::PolarBearSpawnEgg => 793,
        Material::PufferfishSpawnEgg => 794,
        Material::RabbitSpawnEgg => 795,
        Material::RavagerSpawnEgg => 796,
        Material::SalmonSpawnEgg => 797,
        Material::SheepSpawnEgg => 798,
        Material::ShulkerSpawnEgg => 799,
        Material::SilverfishSpawnEgg => 800,
        Material::SkeletonSpawnEgg => 801,
        Material::SkeletonHorseSpawnEgg => 802,
        Material::SlimeSpawnEgg => 803,
        Material::SpiderSpawnEgg => 804,
        Material::SquidSpawnEgg => 805,
        Material::StraySpawnEgg => 806,
        Material::StriderSpawnEgg => 807,
        Material::TraderLlamaSpawnEgg => 808,
        Material::TropicalFishSpawnEgg => 809,
        Material::TurtleSpawnEgg => 810,
        Material::VexSpawnEgg => 811,
        Material::VillagerSpawnEgg => 812,
        Material::VindicatorSpawnEgg => 813,
        Material::WanderingTraderSpawnEgg => 814,
        Material::WitchSpawnEgg => 815,
        Material::WitherSkeletonSpawnEgg => 816,
        Material::WolfSpawnEgg => 817,
        Material::ZoglinSpawnEgg => 818,
        Material::ZombieSpawnEgg => 819,
        Material::ZombieHorseSpawnEgg => 820,
        Material::ZombieVillagerSpawnEgg => 821,
        Material::ZombifiedPiglinSpawnEgg => 822,
        Material::ExperienceBottle => 823,
        Material::FireCharge => 824,
        Material::WritableBook => 825,
        Material::WrittenBook => 826,
        Material::Emerald => 827,
        Material::ItemFrame => 828,
        Material::FlowerPot => 829,
        Material::Carrot => 830,
        Material::Potato => 831,
        Material::BakedPotato => 832,
        Material::PoisonousPotato => 833,
        Material::Map => 834,
        Material::GoldenCarrot => 835,
        Material::SkeletonSkull => 836,
        Material::WitherSkeletonSkull => 837,
        Material::PlayerHead => 838,
        Material::ZombieHead => 839,
        Material::CreeperHead => 840,
        Material::DragonHead => 841,
        Material::CarrotOnAStick => 842,
        Material::WarpedFungusOnAStick => 843,
        Material::NetherStar => 844,
        Material::PumpkinPie => 845,
        Material::FireworkRocket => 846,
        Material::FireworkStar => 847,
        Material::EnchantedBook => 848,
        Material::NetherBrick => 849,
        Material::Quartz => 850,
        Material::TntMinecart => 851,
        Material::HopperMinecart => 852,
        Material::PrismarineShard => 853,
        Material::PrismarineCrystals => 854,
        Material::Rabbit => 855,
        Material::CookedRabbit => 856,
        Material::RabbitStew => 857,
        Material::RabbitFoot => 858,
        Material::RabbitHide => 859,
        Material::ArmorStand => 860,
        Material::IronHorseArmor => 861,
        Material::GoldenHorseArmor => 862,
        Material::DiamondHorseArmor => 863,
        Material::LeatherHorseArmor => 864,
        Material::Lead => 865,
        Material::NameTag => 866,
        Material::CommandBlockMinecart => 867,
        Material::Mutton => 868,
        Material::CookedMutton => 869,
        Material::WhiteBanner => 870,
        Material::OrangeBanner => 871,
        Material::MagentaBanner => 872,
        Material::LightBlueBanner => 873,
        Material::YellowBanner => 874,
        Material::LimeBanner => 875,
        Material::PinkBanner => 876,
        Material::GrayBanner => 877,
        Material::LightGrayBanner => 878,
        Material::CyanBanner => 879,
        Material::PurpleBanner => 880,
        Material::BlueBanner => 881,
        Material::BrownBanner => 882,
        Material::GreenBanner => 883,
        Material::RedBanner => 884,
        Material::BlackBanner => 885,
        Material::EndCrystal => 886,
        Material::ChorusFruit => 887,
        Material::PoppedChorusFruit => 888,
        Material::Beetroot => 889,
        Material::BeetrootSeeds => 890,
        Material::BeetrootSoup => 891,
        Material::DragonBreath => 892,
        Material::SplashPotion => 893,
        Material::SpectralArrow => 894,
        Material::TippedArrow => 895,
        Material::LingeringPotion => 896,
        Material::Shield => 897,
        Material::Elytra => 898,
        Material::SpruceBoat => 899,
        Material::BirchBoat => 900,
        Material::JungleBoat => 901,
        Material::AcaciaBoat => 902,
        Material::DarkOakBoat => 903,
        Material::TotemOfUndying => 904,
        Material::ShulkerShell => 905,
        Material::IronNugget => 906,
        Material::KnowledgeBook => 907,
        Material::DebugStick => 908,
        Material::MusicDisc13 => 909,
        Material::MusicDiscCat => 910,
        Material::MusicDiscBlocks => 911,
        Material::MusicDiscChirp => 912,
        Material::MusicDiscFar => 913,
        Material::MusicDiscMall => 914,
        Material::MusicDiscMellohi => 915,
        Material::MusicDiscStal => 916,
        Material::MusicDiscStrad => 917,
        Material::MusicDiscWard => 918,
        Material::MusicDisc11 => 919,
        Material::MusicDiscWait => 920,
        Material::MusicDiscPigstep => 921,
        Material::Trident => 922,
        Material::PhantomMembrane => 923,
        Material::NautilusShell => 924,
        Material::HeartOfTheSea => 925,
        Material::Crossbow => 926,
        Material::SuspiciousStew => 927,
        Material::Loom => 928,
        Material::FlowerBannerPattern => 929,
        Material::CreeperBannerPattern => 930,
        Material::SkullBannerPattern => 931,
        Material::MojangBannerPattern => 932,
        Material::GlobeBannerPattern => 933,
        Material::PiglinBannerPattern => 934,
        Material::Composter => 935,
        Material::Barrel => 936,
        Material::Smoker => 937,
        Material::BlastFurnace => 938,
        Material::CartographyTable => 939,
        Material::FletchingTable => 940,
        Material::Grindstone => 941,
        Material::Lectern => 942,
        Material::SmithingTable => 943,
        Material::Stonecutter => 944,
        Material::Bell => 945,
        Material::Lantern => 946,
        Material::SoulLantern => 947,
        Material::SweetBerries => 948,
        Material::Campfire => 949,
        Material::SoulCampfire => 950,
        Material::Shroomlight => 951,
        Material::Honeycomb => 952,
        Material::BeeNest => 953,
        Material::Beehive => 954,
        Material::HoneyBottle => 955,
        Material::HoneyBlock => 956,
        Material::HoneycombBlock => 957,
        Material::Lodestone => 958,
        Material::NetheriteBlock => 959,
        Material::AncientDebris => 960,
        Material::Target => 961,
        Material::CryingObsidian => 962,
        Material::Blackstone => 963,
        Material::BlackstoneSlab => 964,
        Material::BlackstoneStairs => 965,
        Material::GildedBlackstone => 966,
        Material::PolishedBlackstone => 967,
        Material::PolishedBlackstoneSlab => 968,
        Material::PolishedBlackstoneStairs => 969,
        Material::ChiseledPolishedBlackstone => 970,
        Material::PolishedBlackstoneBricks => 971,
        Material::PolishedBlackstoneBrickSlab => 972,
        Material::PolishedBlackstoneBrickStairs => 973,
        Material::CrackedPolishedBlackstoneBricks => 974,
        Material::RespawnAnchor => 975,
        _ => 0,
    }
}

pub fn to_material(material_id: u16) -> Material {
    match material_id {
        0 => Material::Air,
        1 => Material::Stone,
        2 => Material::Granite,
        3 => Material::PolishedGranite,
        4 => Material::Diorite,
        5 => Material::PolishedDiorite,
        6 => Material::Andesite,
        7 => Material::PolishedAndesite,
        8 => Material::GrassBlock,
        9 => Material::Dirt,
        10 => Material::CoarseDirt,
        11 => Material::Podzol,
        12 => Material::CrimsonNylium,
        13 => Material::WarpedNylium,
        14 => Material::Cobblestone,
        15 => Material::OakPlanks,
        16 => Material::SprucePlanks,
        17 => Material::BirchPlanks,
        18 => Material::JunglePlanks,
        19 => Material::AcaciaPlanks,
        20 => Material::DarkOakPlanks,
        21 => Material::CrimsonPlanks,
        22 => Material::WarpedPlanks,
        23 => Material::OakSapling,
        24 => Material::SpruceSapling,
        25 => Material::BirchSapling,
        26 => Material::JungleSapling,
        27 => Material::AcaciaSapling,
        28 => Material::DarkOakSapling,
        29 => Material::Bedrock,
        30 => Material::Sand,
        31 => Material::RedSand,
        32 => Material::Gravel,
        33 => Material::GoldOre,
        34 => Material::IronOre,
        35 => Material::CoalOre,
        36 => Material::NetherGoldOre,
        37 => Material::OakLog,
        38 => Material::SpruceLog,
        39 => Material::BirchLog,
        40 => Material::JungleLog,
        41 => Material::AcaciaLog,
        42 => Material::DarkOakLog,
        43 => Material::CrimsonStem,
        44 => Material::WarpedStem,
        45 => Material::StrippedOakLog,
        46 => Material::StrippedSpruceLog,
        47 => Material::StrippedBirchLog,
        48 => Material::StrippedJungleLog,
        49 => Material::StrippedAcaciaLog,
        50 => Material::StrippedDarkOakLog,
        51 => Material::StrippedCrimsonStem,
        52 => Material::StrippedWarpedStem,
        53 => Material::StrippedOakWood,
        54 => Material::StrippedSpruceWood,
        55 => Material::StrippedBirchWood,
        56 => Material::StrippedJungleWood,
        57 => Material::StrippedAcaciaWood,
        58 => Material::StrippedDarkOakWood,
        59 => Material::StrippedCrimsonHyphae,
        60 => Material::StrippedWarpedHyphae,
        61 => Material::OakWood,
        62 => Material::SpruceWood,
        63 => Material::BirchWood,
        64 => Material::JungleWood,
        65 => Material::AcaciaWood,
        66 => Material::DarkOakWood,
        67 => Material::CrimsonHyphae,
        68 => Material::WarpedHyphae,
        69 => Material::OakLeaves,
        70 => Material::SpruceLeaves,
        71 => Material::BirchLeaves,
        72 => Material::JungleLeaves,
        73 => Material::AcaciaLeaves,
        74 => Material::DarkOakLeaves,
        75 => Material::Sponge,
        76 => Material::WetSponge,
        77 => Material::Glass,
        78 => Material::LapisOre,
        79 => Material::LapisBlock,
        80 => Material::Dispenser,
        81 => Material::Sandstone,
        82 => Material::ChiseledSandstone,
        83 => Material::CutSandstone,
        84 => Material::NoteBlock,
        85 => Material::PoweredRail,
        86 => Material::DetectorRail,
        87 => Material::StickyPiston,
        88 => Material::Cobweb,
        89 => Material::Grass,
        90 => Material::Fern,
        91 => Material::DeadBush,
        92 => Material::Seagrass,
        93 => Material::SeaPickle,
        94 => Material::Piston,
        95 => Material::WhiteWool,
        96 => Material::OrangeWool,
        97 => Material::MagentaWool,
        98 => Material::LightBlueWool,
        99 => Material::YellowWool,
        100 => Material::LimeWool,
        101 => Material::PinkWool,
        102 => Material::GrayWool,
        103 => Material::LightGrayWool,
        104 => Material::CyanWool,
        105 => Material::PurpleWool,
        106 => Material::BlueWool,
        107 => Material::BrownWool,
        108 => Material::GreenWool,
        109 => Material::RedWool,
        110 => Material::BlackWool,
        111 => Material::Dandelion,
        112 => Material::Poppy,
        113 => Material::BlueOrchid,
        114 => Material::Allium,
        115 => Material::AzureBluet,
        116 => Material::RedTulip,
        117 => Material::OrangeTulip,
        118 => Material::WhiteTulip,
        119 => Material::PinkTulip,
        120 => Material::OxeyeDaisy,
        121 => Material::Cornflower,
        122 => Material::LilyOfTheValley,
        123 => Material::WitherRose,
        124 => Material::BrownMushroom,
        125 => Material::RedMushroom,
        126 => Material::CrimsonFungus,
        127 => Material::WarpedFungus,
        128 => Material::CrimsonRoots,
        129 => Material::WarpedRoots,
        130 => Material::NetherSprouts,
        131 => Material::WeepingVines,
        132 => Material::TwistingVines,
        133 => Material::SugarCane,
        134 => Material::Kelp,
        135 => Material::Bamboo,
        136 => Material::GoldBlock,
        137 => Material::IronBlock,
        138 => Material::OakSlab,
        139 => Material::SpruceSlab,
        140 => Material::BirchSlab,
        141 => Material::JungleSlab,
        142 => Material::AcaciaSlab,
        143 => Material::DarkOakSlab,
        144 => Material::CrimsonSlab,
        145 => Material::WarpedSlab,
        146 => Material::StoneSlab,
        147 => Material::SmoothStoneSlab,
        148 => Material::SandstoneSlab,
        149 => Material::CutSandstoneSlab,
        150 => Material::PetrifiedOakSlab,
        151 => Material::CobblestoneSlab,
        152 => Material::BrickSlab,
        153 => Material::StoneBrickSlab,
        154 => Material::NetherBrickSlab,
        155 => Material::QuartzSlab,
        156 => Material::RedSandstoneSlab,
        157 => Material::CutRedSandstoneSlab,
        158 => Material::PurpurSlab,
        159 => Material::PrismarineSlab,
        160 => Material::PrismarineBrickSlab,
        161 => Material::DarkPrismarineSlab,
        162 => Material::SmoothQuartz,
        163 => Material::SmoothRedSandstone,
        164 => Material::SmoothSandstone,
        165 => Material::SmoothStone,
        166 => Material::Bricks,
        167 => Material::Tnt,
        168 => Material::Bookshelf,
        169 => Material::MossyCobblestone,
        170 => Material::Obsidian,
        171 => Material::Torch,
        172 => Material::EndRod,
        173 => Material::ChorusPlant,
        174 => Material::ChorusFlower,
        175 => Material::PurpurBlock,
        176 => Material::PurpurPillar,
        177 => Material::PurpurStairs,
        178 => Material::Spawner,
        179 => Material::OakStairs,
        180 => Material::Chest,
        181 => Material::DiamondOre,
        182 => Material::DiamondBlock,
        183 => Material::CraftingTable,
        184 => Material::Farmland,
        185 => Material::Furnace,
        186 => Material::Ladder,
        187 => Material::Rail,
        188 => Material::CobblestoneStairs,
        189 => Material::Lever,
        190 => Material::StonePressurePlate,
        191 => Material::OakPressurePlate,
        192 => Material::SprucePressurePlate,
        193 => Material::BirchPressurePlate,
        194 => Material::JunglePressurePlate,
        195 => Material::AcaciaPressurePlate,
        196 => Material::DarkOakPressurePlate,
        197 => Material::CrimsonPressurePlate,
        198 => Material::WarpedPressurePlate,
        199 => Material::PolishedBlackstonePressurePlate,
        200 => Material::RedstoneOre,
        201 => Material::RedstoneTorch,
        202 => Material::Snow,
        203 => Material::Ice,
        204 => Material::SnowBlock,
        205 => Material::Cactus,
        206 => Material::Clay,
        207 => Material::Jukebox,
        208 => Material::OakFence,
        209 => Material::SpruceFence,
        210 => Material::BirchFence,
        211 => Material::JungleFence,
        212 => Material::AcaciaFence,
        213 => Material::DarkOakFence,
        214 => Material::CrimsonFence,
        215 => Material::WarpedFence,
        216 => Material::Pumpkin,
        217 => Material::CarvedPumpkin,
        218 => Material::Netherrack,
        219 => Material::SoulSand,
        220 => Material::SoulSoil,
        221 => Material::Basalt,
        222 => Material::PolishedBasalt,
        223 => Material::SoulTorch,
        224 => Material::Glowstone,
        225 => Material::JackOLantern,
        226 => Material::OakTrapdoor,
        227 => Material::SpruceTrapdoor,
        228 => Material::BirchTrapdoor,
        229 => Material::JungleTrapdoor,
        230 => Material::AcaciaTrapdoor,
        231 => Material::DarkOakTrapdoor,
        232 => Material::CrimsonTrapdoor,
        233 => Material::WarpedTrapdoor,
        234 => Material::InfestedStone,
        235 => Material::InfestedCobblestone,
        236 => Material::InfestedStoneBricks,
        237 => Material::InfestedMossyStoneBricks,
        238 => Material::InfestedCrackedStoneBricks,
        239 => Material::InfestedChiseledStoneBricks,
        240 => Material::StoneBricks,
        241 => Material::MossyStoneBricks,
        242 => Material::CrackedStoneBricks,
        243 => Material::ChiseledStoneBricks,
        244 => Material::BrownMushroomBlock,
        245 => Material::RedMushroomBlock,
        246 => Material::MushroomStem,
        247 => Material::IronBars,
        248 => Material::Chain,
        249 => Material::GlassPane,
        250 => Material::Melon,
        251 => Material::Vine,
        252 => Material::OakFenceGate,
        253 => Material::SpruceFenceGate,
        254 => Material::BirchFenceGate,
        255 => Material::JungleFenceGate,
        256 => Material::AcaciaFenceGate,
        257 => Material::DarkOakFenceGate,
        258 => Material::CrimsonFenceGate,
        259 => Material::WarpedFenceGate,
        260 => Material::BrickStairs,
        261 => Material::StoneBrickStairs,
        262 => Material::Mycelium,
        263 => Material::LilyPad,
        264 => Material::NetherBricks,
        265 => Material::CrackedNetherBricks,
        266 => Material::ChiseledNetherBricks,
        267 => Material::NetherBrickFence,
        268 => Material::NetherBrickStairs,
        269 => Material::EnchantingTable,
        270 => Material::EndPortalFrame,
        271 => Material::EndStone,
        272 => Material::EndStoneBricks,
        273 => Material::DragonEgg,
        274 => Material::RedstoneLamp,
        275 => Material::SandstoneStairs,
        276 => Material::EmeraldOre,
        277 => Material::EnderChest,
        278 => Material::TripwireHook,
        279 => Material::EmeraldBlock,
        280 => Material::SpruceStairs,
        281 => Material::BirchStairs,
        282 => Material::JungleStairs,
        283 => Material::CrimsonStairs,
        284 => Material::WarpedStairs,
        285 => Material::CommandBlock,
        286 => Material::Beacon,
        287 => Material::CobblestoneWall,
        288 => Material::MossyCobblestoneWall,
        289 => Material::BrickWall,
        290 => Material::PrismarineWall,
        291 => Material::RedSandstoneWall,
        292 => Material::MossyStoneBrickWall,
        293 => Material::GraniteWall,
        294 => Material::StoneBrickWall,
        295 => Material::NetherBrickWall,
        296 => Material::AndesiteWall,
        297 => Material::RedNetherBrickWall,
        298 => Material::SandstoneWall,
        299 => Material::EndStoneBrickWall,
        300 => Material::DioriteWall,
        301 => Material::BlackstoneWall,
        302 => Material::PolishedBlackstoneWall,
        303 => Material::PolishedBlackstoneBrickWall,
        304 => Material::StoneButton,
        305 => Material::OakButton,
        306 => Material::SpruceButton,
        307 => Material::BirchButton,
        308 => Material::JungleButton,
        309 => Material::AcaciaButton,
        310 => Material::DarkOakButton,
        311 => Material::CrimsonButton,
        312 => Material::WarpedButton,
        313 => Material::PolishedBlackstoneButton,
        314 => Material::Anvil,
        315 => Material::ChippedAnvil,
        316 => Material::DamagedAnvil,
        317 => Material::TrappedChest,
        318 => Material::LightWeightedPressurePlate,
        319 => Material::HeavyWeightedPressurePlate,
        320 => Material::DaylightDetector,
        321 => Material::RedstoneBlock,
        322 => Material::NetherQuartzOre,
        323 => Material::Hopper,
        324 => Material::ChiseledQuartzBlock,
        325 => Material::QuartzBlock,
        326 => Material::QuartzBricks,
        327 => Material::QuartzPillar,
        328 => Material::QuartzStairs,
        329 => Material::ActivatorRail,
        330 => Material::Dropper,
        331 => Material::WhiteTerracotta,
        332 => Material::OrangeTerracotta,
        333 => Material::MagentaTerracotta,
        334 => Material::LightBlueTerracotta,
        335 => Material::YellowTerracotta,
        336 => Material::LimeTerracotta,
        337 => Material::PinkTerracotta,
        338 => Material::GrayTerracotta,
        339 => Material::LightGrayTerracotta,
        340 => Material::CyanTerracotta,
        341 => Material::PurpleTerracotta,
        342 => Material::BlueTerracotta,
        343 => Material::BrownTerracotta,
        344 => Material::GreenTerracotta,
        345 => Material::RedTerracotta,
        346 => Material::BlackTerracotta,
        347 => Material::Barrier,
        348 => Material::IronTrapdoor,
        349 => Material::HayBlock,
        350 => Material::WhiteCarpet,
        351 => Material::OrangeCarpet,
        352 => Material::MagentaCarpet,
        353 => Material::LightBlueCarpet,
        354 => Material::YellowCarpet,
        355 => Material::LimeCarpet,
        356 => Material::PinkCarpet,
        357 => Material::GrayCarpet,
        358 => Material::LightGrayCarpet,
        359 => Material::CyanCarpet,
        360 => Material::PurpleCarpet,
        361 => Material::BlueCarpet,
        362 => Material::BrownCarpet,
        363 => Material::GreenCarpet,
        364 => Material::RedCarpet,
        365 => Material::BlackCarpet,
        366 => Material::Terracotta,
        367 => Material::CoalBlock,
        368 => Material::PackedIce,
        369 => Material::AcaciaStairs,
        370 => Material::DarkOakStairs,
        371 => Material::SlimeBlock,
        372 => Material::GrassPath,
        373 => Material::Sunflower,
        374 => Material::Lilac,
        375 => Material::RoseBush,
        376 => Material::Peony,
        377 => Material::TallGrass,
        378 => Material::LargeFern,
        379 => Material::WhiteStainedGlass,
        380 => Material::OrangeStainedGlass,
        381 => Material::MagentaStainedGlass,
        382 => Material::LightBlueStainedGlass,
        383 => Material::YellowStainedGlass,
        384 => Material::LimeStainedGlass,
        385 => Material::PinkStainedGlass,
        386 => Material::GrayStainedGlass,
        387 => Material::LightGrayStainedGlass,
        388 => Material::CyanStainedGlass,
        389 => Material::PurpleStainedGlass,
        390 => Material::BlueStainedGlass,
        391 => Material::BrownStainedGlass,
        392 => Material::GreenStainedGlass,
        393 => Material::RedStainedGlass,
        394 => Material::BlackStainedGlass,
        395 => Material::WhiteStainedGlassPane,
        396 => Material::OrangeStainedGlassPane,
        397 => Material::MagentaStainedGlassPane,
        398 => Material::LightBlueStainedGlassPane,
        399 => Material::YellowStainedGlassPane,
        400 => Material::LimeStainedGlassPane,
        401 => Material::PinkStainedGlassPane,
        402 => Material::GrayStainedGlassPane,
        403 => Material::LightGrayStainedGlassPane,
        404 => Material::CyanStainedGlassPane,
        405 => Material::PurpleStainedGlassPane,
        406 => Material::BlueStainedGlassPane,
        407 => Material::BrownStainedGlassPane,
        408 => Material::GreenStainedGlassPane,
        409 => Material::RedStainedGlassPane,
        410 => Material::BlackStainedGlassPane,
        411 => Material::Prismarine,
        412 => Material::PrismarineBricks,
        413 => Material::DarkPrismarine,
        414 => Material::PrismarineStairs,
        415 => Material::PrismarineBrickStairs,
        416 => Material::DarkPrismarineStairs,
        417 => Material::SeaLantern,
        418 => Material::RedSandstone,
        419 => Material::ChiseledRedSandstone,
        420 => Material::CutRedSandstone,
        421 => Material::RedSandstoneStairs,
        422 => Material::RepeatingCommandBlock,
        423 => Material::ChainCommandBlock,
        424 => Material::MagmaBlock,
        425 => Material::NetherWartBlock,
        426 => Material::WarpedWartBlock,
        427 => Material::RedNetherBricks,
        428 => Material::BoneBlock,
        429 => Material::StructureVoid,
        430 => Material::Observer,
        431 => Material::ShulkerBox,
        432 => Material::WhiteShulkerBox,
        433 => Material::OrangeShulkerBox,
        434 => Material::MagentaShulkerBox,
        435 => Material::LightBlueShulkerBox,
        436 => Material::YellowShulkerBox,
        437 => Material::LimeShulkerBox,
        438 => Material::PinkShulkerBox,
        439 => Material::GrayShulkerBox,
        440 => Material::LightGrayShulkerBox,
        441 => Material::CyanShulkerBox,
        442 => Material::PurpleShulkerBox,
        443 => Material::BlueShulkerBox,
        444 => Material::BrownShulkerBox,
        445 => Material::GreenShulkerBox,
        446 => Material::RedShulkerBox,
        447 => Material::BlackShulkerBox,
        448 => Material::WhiteGlazedTerracotta,
        449 => Material::OrangeGlazedTerracotta,
        450 => Material::MagentaGlazedTerracotta,
        451 => Material::LightBlueGlazedTerracotta,
        452 => Material::YellowGlazedTerracotta,
        453 => Material::LimeGlazedTerracotta,
        454 => Material::PinkGlazedTerracotta,
        455 => Material::GrayGlazedTerracotta,
        456 => Material::LightGrayGlazedTerracotta,
        457 => Material::CyanGlazedTerracotta,
        458 => Material::PurpleGlazedTerracotta,
        459 => Material::BlueGlazedTerracotta,
        460 => Material::BrownGlazedTerracotta,
        461 => Material::GreenGlazedTerracotta,
        462 => Material::RedGlazedTerracotta,
        463 => Material::BlackGlazedTerracotta,
        464 => Material::WhiteConcrete,
        465 => Material::OrangeConcrete,
        466 => Material::MagentaConcrete,
        467 => Material::LightBlueConcrete,
        468 => Material::YellowConcrete,
        469 => Material::LimeConcrete,
        470 => Material::PinkConcrete,
        471 => Material::GrayConcrete,
        472 => Material::LightGrayConcrete,
        473 => Material::CyanConcrete,
        474 => Material::PurpleConcrete,
        475 => Material::BlueConcrete,
        476 => Material::BrownConcrete,
        477 => Material::GreenConcrete,
        478 => Material::RedConcrete,
        479 => Material::BlackConcrete,
        480 => Material::WhiteConcretePowder,
        481 => Material::OrangeConcretePowder,
        482 => Material::MagentaConcretePowder,
        483 => Material::LightBlueConcretePowder,
        484 => Material::YellowConcretePowder,
        485 => Material::LimeConcretePowder,
        486 => Material::PinkConcretePowder,
        487 => Material::GrayConcretePowder,
        488 => Material::LightGrayConcretePowder,
        489 => Material::CyanConcretePowder,
        490 => Material::PurpleConcretePowder,
        491 => Material::BlueConcretePowder,
        492 => Material::BrownConcretePowder,
        493 => Material::GreenConcretePowder,
        494 => Material::RedConcretePowder,
        495 => Material::BlackConcretePowder,
        496 => Material::TurtleEgg,
        497 => Material::DeadTubeCoralBlock,
        498 => Material::DeadBrainCoralBlock,
        499 => Material::DeadBubbleCoralBlock,
        500 => Material::DeadFireCoralBlock,
        501 => Material::DeadHornCoralBlock,
        502 => Material::TubeCoralBlock,
        503 => Material::BrainCoralBlock,
        504 => Material::BubbleCoralBlock,
        505 => Material::FireCoralBlock,
        506 => Material::HornCoralBlock,
        507 => Material::TubeCoral,
        508 => Material::BrainCoral,
        509 => Material::BubbleCoral,
        510 => Material::FireCoral,
        511 => Material::HornCoral,
        512 => Material::DeadBrainCoral,
        513 => Material::DeadBubbleCoral,
        514 => Material::DeadFireCoral,
        515 => Material::DeadHornCoral,
        516 => Material::DeadTubeCoral,
        517 => Material::TubeCoralFan,
        518 => Material::BrainCoralFan,
        519 => Material::BubbleCoralFan,
        520 => Material::FireCoralFan,
        521 => Material::HornCoralFan,
        522 => Material::DeadTubeCoralFan,
        523 => Material::DeadBrainCoralFan,
        524 => Material::DeadBubbleCoralFan,
        525 => Material::DeadFireCoralFan,
        526 => Material::DeadHornCoralFan,
        527 => Material::BlueIce,
        528 => Material::Conduit,
        529 => Material::PolishedGraniteStairs,
        530 => Material::SmoothRedSandstoneStairs,
        531 => Material::MossyStoneBrickStairs,
        532 => Material::PolishedDioriteStairs,
        533 => Material::MossyCobblestoneStairs,
        534 => Material::EndStoneBrickStairs,
        535 => Material::StoneStairs,
        536 => Material::SmoothSandstoneStairs,
        537 => Material::SmoothQuartzStairs,
        538 => Material::GraniteStairs,
        539 => Material::AndesiteStairs,
        540 => Material::RedNetherBrickStairs,
        541 => Material::PolishedAndesiteStairs,
        542 => Material::DioriteStairs,
        543 => Material::PolishedGraniteSlab,
        544 => Material::SmoothRedSandstoneSlab,
        545 => Material::MossyStoneBrickSlab,
        546 => Material::PolishedDioriteSlab,
        547 => Material::MossyCobblestoneSlab,
        548 => Material::EndStoneBrickSlab,
        549 => Material::SmoothSandstoneSlab,
        550 => Material::SmoothQuartzSlab,
        551 => Material::GraniteSlab,
        552 => Material::AndesiteSlab,
        553 => Material::RedNetherBrickSlab,
        554 => Material::PolishedAndesiteSlab,
        555 => Material::DioriteSlab,
        556 => Material::Scaffolding,
        557 => Material::IronDoor,
        558 => Material::OakDoor,
        559 => Material::SpruceDoor,
        560 => Material::BirchDoor,
        561 => Material::JungleDoor,
        562 => Material::AcaciaDoor,
        563 => Material::DarkOakDoor,
        564 => Material::CrimsonDoor,
        565 => Material::WarpedDoor,
        566 => Material::Repeater,
        567 => Material::Comparator,
        568 => Material::StructureBlock,
        569 => Material::Jigsaw,
        570 => Material::TurtleHelmet,
        571 => Material::Scute,
        572 => Material::FlintAndSteel,
        573 => Material::Apple,
        574 => Material::Bow,
        575 => Material::Arrow,
        576 => Material::Coal,
        577 => Material::Charcoal,
        578 => Material::Diamond,
        579 => Material::IronIngot,
        580 => Material::GoldIngot,
        581 => Material::NetheriteIngot,
        582 => Material::NetheriteScrap,
        583 => Material::WoodenSword,
        584 => Material::WoodenShovel,
        585 => Material::WoodenPickaxe,
        586 => Material::WoodenAxe,
        587 => Material::WoodenHoe,
        588 => Material::StoneSword,
        589 => Material::StoneShovel,
        590 => Material::StonePickaxe,
        591 => Material::StoneAxe,
        592 => Material::StoneHoe,
        593 => Material::GoldenSword,
        594 => Material::GoldenShovel,
        595 => Material::GoldenPickaxe,
        596 => Material::GoldenAxe,
        597 => Material::GoldenHoe,
        598 => Material::IronSword,
        599 => Material::IronShovel,
        600 => Material::IronPickaxe,
        601 => Material::IronAxe,
        602 => Material::IronHoe,
        603 => Material::DiamondSword,
        604 => Material::DiamondShovel,
        605 => Material::DiamondPickaxe,
        606 => Material::DiamondAxe,
        607 => Material::DiamondHoe,
        608 => Material::NetheriteSword,
        609 => Material::NetheriteShovel,
        610 => Material::NetheritePickaxe,
        611 => Material::NetheriteAxe,
        612 => Material::NetheriteHoe,
        613 => Material::Stick,
        614 => Material::Bowl,
        615 => Material::MushroomStew,
        616 => Material::String,
        617 => Material::Feather,
        618 => Material::Gunpowder,
        619 => Material::WheatSeeds,
        620 => Material::Wheat,
        621 => Material::Bread,
        622 => Material::LeatherHelmet,
        623 => Material::LeatherChestplate,
        624 => Material::LeatherLeggings,
        625 => Material::LeatherBoots,
        626 => Material::ChainmailHelmet,
        627 => Material::ChainmailChestplate,
        628 => Material::ChainmailLeggings,
        629 => Material::ChainmailBoots,
        630 => Material::IronHelmet,
        631 => Material::IronChestplate,
        632 => Material::IronLeggings,
        633 => Material::IronBoots,
        634 => Material::DiamondHelmet,
        635 => Material::DiamondChestplate,
        636 => Material::DiamondLeggings,
        637 => Material::DiamondBoots,
        638 => Material::GoldenHelmet,
        639 => Material::GoldenChestplate,
        640 => Material::GoldenLeggings,
        641 => Material::GoldenBoots,
        642 => Material::NetheriteHelmet,
        643 => Material::NetheriteChestplate,
        644 => Material::NetheriteLeggings,
        645 => Material::NetheriteBoots,
        646 => Material::Flint,
        647 => Material::Porkchop,
        648 => Material::CookedPorkchop,
        649 => Material::Painting,
        650 => Material::GoldenApple,
        651 => Material::EnchantedGoldenApple,
        652 => Material::OakSign,
        653 => Material::SpruceSign,
        654 => Material::BirchSign,
        655 => Material::JungleSign,
        656 => Material::AcaciaSign,
        657 => Material::DarkOakSign,
        658 => Material::CrimsonSign,
        659 => Material::WarpedSign,
        660 => Material::Bucket,
        661 => Material::WaterBucket,
        662 => Material::LavaBucket,
        663 => Material::Minecart,
        664 => Material::Saddle,
        665 => Material::Redstone,
        666 => Material::Snowball,
        667 => Material::OakBoat,
        668 => Material::Leather,
        669 => Material::MilkBucket,
        670 => Material::PufferfishBucket,
        671 => Material::SalmonBucket,
        672 => Material::CodBucket,
        673 => Material::TropicalFishBucket,
        674 => Material::Brick,
        675 => Material::ClayBall,
        676 => Material::DriedKelpBlock,
        677 => Material::Paper,
        678 => Material::Book,
        679 => Material::SlimeBall,
        680 => Material::ChestMinecart,
        681 => Material::FurnaceMinecart,
        682 => Material::Egg,
        683 => Material::Compass,
        684 => Material::FishingRod,
        685 => Material::Clock,
        686 => Material::GlowstoneDust,
        687 => Material::Cod,
        688 => Material::Salmon,
        689 => Material::TropicalFish,
        690 => Material::Pufferfish,
        691 => Material::CookedCod,
        692 => Material::CookedSalmon,
        693 => Material::InkSac,
        694 => Material::CocoaBeans,
        695 => Material::LapisLazuli,
        696 => Material::WhiteDye,
        697 => Material::OrangeDye,
        698 => Material::MagentaDye,
        699 => Material::LightBlueDye,
        700 => Material::YellowDye,
        701 => Material::LimeDye,
        702 => Material::PinkDye,
        703 => Material::GrayDye,
        704 => Material::LightGrayDye,
        705 => Material::CyanDye,
        706 => Material::PurpleDye,
        707 => Material::BlueDye,
        708 => Material::BrownDye,
        709 => Material::GreenDye,
        710 => Material::RedDye,
        711 => Material::BlackDye,
        712 => Material::BoneMeal,
        713 => Material::Bone,
        714 => Material::Sugar,
        715 => Material::Cake,
        716 => Material::WhiteBed,
        717 => Material::OrangeBed,
        718 => Material::MagentaBed,
        719 => Material::LightBlueBed,
        720 => Material::YellowBed,
        721 => Material::LimeBed,
        722 => Material::PinkBed,
        723 => Material::GrayBed,
        724 => Material::LightGrayBed,
        725 => Material::CyanBed,
        726 => Material::PurpleBed,
        727 => Material::BlueBed,
        728 => Material::BrownBed,
        729 => Material::GreenBed,
        730 => Material::RedBed,
        731 => Material::BlackBed,
        732 => Material::Cookie,
        733 => Material::FilledMap,
        734 => Material::Shears,
        735 => Material::MelonSlice,
        736 => Material::DriedKelp,
        737 => Material::PumpkinSeeds,
        738 => Material::MelonSeeds,
        739 => Material::Beef,
        740 => Material::CookedBeef,
        741 => Material::Chicken,
        742 => Material::CookedChicken,
        743 => Material::RottenFlesh,
        744 => Material::EnderPearl,
        745 => Material::BlazeRod,
        746 => Material::GhastTear,
        747 => Material::GoldNugget,
        748 => Material::NetherWart,
        749 => Material::Potion,
        750 => Material::GlassBottle,
        751 => Material::SpiderEye,
        752 => Material::FermentedSpiderEye,
        753 => Material::BlazePowder,
        754 => Material::MagmaCream,
        755 => Material::BrewingStand,
        756 => Material::Cauldron,
        757 => Material::EnderEye,
        758 => Material::GlisteringMelonSlice,
        759 => Material::BatSpawnEgg,
        760 => Material::BeeSpawnEgg,
        761 => Material::BlazeSpawnEgg,
        762 => Material::CatSpawnEgg,
        763 => Material::CaveSpiderSpawnEgg,
        764 => Material::ChickenSpawnEgg,
        765 => Material::CodSpawnEgg,
        766 => Material::CowSpawnEgg,
        767 => Material::CreeperSpawnEgg,
        768 => Material::DolphinSpawnEgg,
        769 => Material::DonkeySpawnEgg,
        770 => Material::DrownedSpawnEgg,
        771 => Material::ElderGuardianSpawnEgg,
        772 => Material::EndermanSpawnEgg,
        773 => Material::EndermiteSpawnEgg,
        774 => Material::EvokerSpawnEgg,
        775 => Material::FoxSpawnEgg,
        776 => Material::GhastSpawnEgg,
        777 => Material::GuardianSpawnEgg,
        778 => Material::HoglinSpawnEgg,
        779 => Material::HorseSpawnEgg,
        780 => Material::HuskSpawnEgg,
        781 => Material::LlamaSpawnEgg,
        782 => Material::MagmaCubeSpawnEgg,
        783 => Material::MooshroomSpawnEgg,
        784 => Material::MuleSpawnEgg,
        785 => Material::OcelotSpawnEgg,
        786 => Material::PandaSpawnEgg,
        787 => Material::ParrotSpawnEgg,
        788 => Material::PhantomSpawnEgg,
        789 => Material::PigSpawnEgg,
        790 => Material::PiglinSpawnEgg,
        791 => Material::PiglinBruteSpawnEgg,
        792 => Material::PillagerSpawnEgg,
        793 => Material::PolarBearSpawnEgg,
        794 => Material::PufferfishSpawnEgg,
        795 => Material::RabbitSpawnEgg,
        796 => Material::RavagerSpawnEgg,
        797 => Material::SalmonSpawnEgg,
        798 => Material::SheepSpawnEgg,
        799 => Material::ShulkerSpawnEgg,
        800 => Material::SilverfishSpawnEgg,
        801 => Material::SkeletonSpawnEgg,
        802 => Material::SkeletonHorseSpawnEgg,
        803 => Material::SlimeSpawnEgg,
        804 => Material::SpiderSpawnEgg,
        805 => Material::SquidSpawnEgg,
        806 => Material::StraySpawnEgg,
        807 => Material::StriderSpawnEgg,
        808 => Material::TraderLlamaSpawnEgg,
        809 => Material::TropicalFishSpawnEgg,
        810 => Material::TurtleSpawnEgg,
        811 => Material::VexSpawnEgg,
        812 => Material::VillagerSpawnEgg,
        813 => Material::VindicatorSpawnEgg,
        814 => Material::WanderingTraderSpawnEgg,
        815 => Material::WitchSpawnEgg,
        816 => Material::WitherSkeletonSpawnEgg,
        817 => Material::WolfSpawnEgg,
        818 => Material::ZoglinSpawnEgg,
        819 => Material::ZombieSpawnEgg,
        820 => Material::ZombieHorseSpawnEgg,
        821 => Material::ZombieVillagerSpawnEgg,
        822 => Material::ZombifiedPiglinSpawnEgg,
        823 => Material::ExperienceBottle,
        824 => Material::FireCharge,
        825 => Material::WritableBook,
        826 => Material::WrittenBook,
        827 => Material::Emerald,
        828 => Material::ItemFrame,
        829 => Material::FlowerPot,
        830 => Material::Carrot,
        831 => Material::Potato,
        832 => Material::BakedPotato,
        833 => Material::PoisonousPotato,
        834 => Material::Map,
        835 => Material::GoldenCarrot,
        836 => Material::SkeletonSkull,
        837 => Material::WitherSkeletonSkull,
        838 => Material::PlayerHead,
        839 => Material::ZombieHead,
        840 => Material::CreeperHead,
        841 => Material::DragonHead,
        842 => Material::CarrotOnAStick,
        843 => Material::WarpedFungusOnAStick,
        844 => Material::NetherStar,
        845 => Material::PumpkinPie,
        846 => Material::FireworkRocket,
        847 => Material::FireworkStar,
        848 => Material::EnchantedBook,
        849 => Material::NetherBrick,
        850 => Material::Quartz,
        851 => Material::TntMinecart,
        852 => Material::HopperMinecart,
        853 => Material::PrismarineShard,
        854 => Material::PrismarineCrystals,
        855 => Material::Rabbit,
        856 => Material::CookedRabbit,
        857 => Material::RabbitStew,
        858 => Material::RabbitFoot,
        859 => Material::RabbitHide,
        860 => Material::ArmorStand,
        861 => Material::IronHorseArmor,
        862 => Material::GoldenHorseArmor,
        863 => Material::DiamondHorseArmor,
        864 => Material::LeatherHorseArmor,
        865 => Material::Lead,
        866 => Material::NameTag,
        867 => Material::CommandBlockMinecart,
        868 => Material::Mutton,
        869 => Material::CookedMutton,
        870 => Material::WhiteBanner,
        871 => Material::OrangeBanner,
        872 => Material::MagentaBanner,
        873 => Material::LightBlueBanner,
        874 => Material::YellowBanner,
        875 => Material::LimeBanner,
        876 => Material::PinkBanner,
        877 => Material::GrayBanner,
        878 => Material::LightGrayBanner,
        879 => Material::CyanBanner,
        880 => Material::PurpleBanner,
        881 => Material::BlueBanner,
        882 => Material::BrownBanner,
        883 => Material::GreenBanner,
        884 => Material::RedBanner,
        885 => Material::BlackBanner,
        886 => Material::EndCrystal,
        887 => Material::ChorusFruit,
        888 => Material::PoppedChorusFruit,
        889 => Material::Beetroot,
        890 => Material::BeetrootSeeds,
        891 => Material::BeetrootSoup,
        892 => Material::DragonBreath,
        893 => Material::SplashPotion,
        894 => Material::SpectralArrow,
        895 => Material::TippedArrow,
        896 => Material::LingeringPotion,
        897 => Material::Shield,
        898 => Material::Elytra,
        899 => Material::SpruceBoat,
        900 => Material::BirchBoat,
        901 => Material::JungleBoat,
        902 => Material::AcaciaBoat,
        903 => Material::DarkOakBoat,
        904 => Material::TotemOfUndying,
        905 => Material::ShulkerShell,
        906 => Material::IronNugget,
        907 => Material::KnowledgeBook,
        908 => Material::DebugStick,
        909 => Material::MusicDisc13,
        910 => Material::MusicDiscCat,
        911 => Material::MusicDiscBlocks,
        912 => Material::MusicDiscChirp,
        913 => Material::MusicDiscFar,
        914 => Material::MusicDiscMall,
        915 => Material::MusicDiscMellohi,
        916 => Material::MusicDiscStal,
        917 => Material::MusicDiscStrad,
        918 => Material::MusicDiscWard,
        919 => Material::MusicDisc11,
        920 => Material::MusicDiscWait,
        921 => Material::MusicDiscPigstep,
        922 => Material::Trident,
        923 => Material::PhantomMembrane,
        924 => Material::NautilusShell,
        925 => Material::HeartOfTheSea,
        926 => Material::Crossbow,
        927 => Material::SuspiciousStew,
        928 => Material::Loom,
        929 => Material::FlowerBannerPattern,
        930 => Material::CreeperBannerPattern,
        931 => Material::SkullBannerPattern,
        932 => Material::MojangBannerPattern,
        933 => Material::GlobeBannerPattern,
        934 => Material::PiglinBannerPattern,
        935 => Material::Composter,
        936 => Material::Barrel,
        937 => Material::Smoker,
        938 => Material::BlastFurnace,
        939 => Material::CartographyTable,
        940 => Material::FletchingTable,
        941 => Material::Grindstone,
        942 => Material::Lectern,
        943 => Material::SmithingTable,
        944 => Material::Stonecutter,
        945 => Material::Bell,
        946 => Material::Lantern,
        947 => Material::SoulLantern,
        948 => Material::SweetBerries,
        949 => Material::Campfire,
        950 => Material::SoulCampfire,
        951 => Material::Shroomlight,
        952 => Material::Honeycomb,
        953 => Material::BeeNest,
        954 => Material::Beehive,
        955 => Material::HoneyBottle,
        956 => Material::HoneyBlock,
        957 => Material::HoneycombBlock,
        958 => Material::Lodestone,
        959 => Material::NetheriteBlock,
        960 => Material::AncientDebris,
        961 => Material::Target,
        962 => Material::CryingObsidian,
        963 => Material::Blackstone,
        964 => Material::BlackstoneSlab,
        965 => Material::BlackstoneStairs,
        966 => Material::GildedBlackstone,
        967 => Material::PolishedBlackstone,
        968 => Material::PolishedBlackstoneSlab,
        969 => Material::PolishedBlackstoneStairs,
        970 => Material::ChiseledPolishedBlackstone,
        971 => Material::PolishedBlackstoneBricks,
        972 => Material::PolishedBlackstoneBrickSlab,
        973 => Material::PolishedBlackstoneBrickStairs,
        974 => Material::CrackedPolishedBlackstoneBricks,
        975 => Material::RespawnAnchor,
        _ => Material::Air,
    }
}

pub fn get_stack_size(mat: Material) -> u8 {
    match mat {
        Material::ShulkerBox => 1,
        Material::WhiteShulkerBox => 1,
        Material::OrangeShulkerBox => 1,
        Material::MagentaShulkerBox => 1,
        Material::LightBlueShulkerBox => 1,
        Material::YellowShulkerBox => 1,
        Material::LimeShulkerBox => 1,
        Material::PinkShulkerBox => 1,
        Material::GrayShulkerBox => 1,
        Material::LightGrayShulkerBox => 1,
        Material::CyanShulkerBox => 1,
        Material::PurpleShulkerBox => 1,
        Material::BlueShulkerBox => 1,
        Material::BrownShulkerBox => 1,
        Material::GreenShulkerBox => 1,
        Material::RedShulkerBox => 1,
        Material::BlackShulkerBox => 1,
        Material::TurtleHelmet => 1,
        Material::FlintAndSteel => 1,
        Material::Bow => 1,
        Material::WoodenSword => 1,
        Material::WoodenShovel => 1,
        Material::WoodenPickaxe => 1,
        Material::WoodenAxe => 1,
        Material::WoodenHoe => 1,
        Material::StoneSword => 1,
        Material::StoneShovel => 1,
        Material::StonePickaxe => 1,
        Material::StoneAxe => 1,
        Material::StoneHoe => 1,
        Material::GoldenSword => 1,
        Material::GoldenShovel => 1,
        Material::GoldenPickaxe => 1,
        Material::GoldenAxe => 1,
        Material::GoldenHoe => 1,
        Material::IronSword => 1,
        Material::IronShovel => 1,
        Material::IronPickaxe => 1,
        Material::IronAxe => 1,
        Material::IronHoe => 1,
        Material::DiamondSword => 1,
        Material::DiamondShovel => 1,
        Material::DiamondPickaxe => 1,
        Material::DiamondAxe => 1,
        Material::DiamondHoe => 1,
        Material::NetheriteSword => 1,
        Material::NetheriteShovel => 1,
        Material::NetheritePickaxe => 1,
        Material::NetheriteAxe => 1,
        Material::NetheriteHoe => 1,
        Material::MushroomStew => 1,
        Material::LeatherHelmet => 1,
        Material::LeatherChestplate => 1,
        Material::LeatherLeggings => 1,
        Material::LeatherBoots => 1,
        Material::ChainmailHelmet => 1,
        Material::ChainmailChestplate => 1,
        Material::ChainmailLeggings => 1,
        Material::ChainmailBoots => 1,
        Material::IronHelmet => 1,
        Material::IronChestplate => 1,
        Material::IronLeggings => 1,
        Material::IronBoots => 1,
        Material::DiamondHelmet => 1,
        Material::DiamondChestplate => 1,
        Material::DiamondLeggings => 1,
        Material::DiamondBoots => 1,
        Material::GoldenHelmet => 1,
        Material::GoldenChestplate => 1,
        Material::GoldenLeggings => 1,
        Material::GoldenBoots => 1,
        Material::NetheriteHelmet => 1,
        Material::NetheriteChestplate => 1,
        Material::NetheriteLeggings => 1,
        Material::NetheriteBoots => 1,
        Material::OakSign => 16,
        Material::SpruceSign => 16,
        Material::BirchSign => 16,
        Material::JungleSign => 16,
        Material::AcaciaSign => 16,
        Material::DarkOakSign => 16,
        Material::CrimsonSign => 16,
        Material::WarpedSign => 16,
        Material::Bucket => 16,
        Material::WaterBucket => 1,
        Material::LavaBucket => 1,
        Material::Minecart => 1,
        Material::Saddle => 1,
        Material::Snowball => 16,
        Material::OakBoat => 1,
        Material::MilkBucket => 1,
        Material::PufferfishBucket => 1,
        Material::SalmonBucket => 1,
        Material::CodBucket => 1,
        Material::TropicalFishBucket => 1,
        Material::ChestMinecart => 1,
        Material::FurnaceMinecart => 1,
        Material::Egg => 16,
        Material::FishingRod => 1,
        Material::Cake => 1,
        Material::WhiteBed => 1,
        Material::OrangeBed => 1,
        Material::MagentaBed => 1,
        Material::LightBlueBed => 1,
        Material::YellowBed => 1,
        Material::LimeBed => 1,
        Material::PinkBed => 1,
        Material::GrayBed => 1,
        Material::LightGrayBed => 1,
        Material::CyanBed => 1,
        Material::PurpleBed => 1,
        Material::BlueBed => 1,
        Material::BrownBed => 1,
        Material::GreenBed => 1,
        Material::RedBed => 1,
        Material::BlackBed => 1,
        Material::Shears => 1,
        Material::EnderPearl => 16,
        Material::Potion => 1,
        Material::WritableBook => 1,
        Material::WrittenBook => 16,
        Material::CarrotOnAStick => 1,
        Material::EnchantedBook => 1,
        Material::TntMinecart => 1,
        Material::HopperMinecart => 1,
        Material::RabbitStew => 1,
        Material::ArmorStand => 16,
        Material::IronHorseArmor => 1,
        Material::GoldenHorseArmor => 1,
        Material::DiamondHorseArmor => 1,
        Material::LeatherHorseArmor => 1,
        Material::CommandBlockMinecart => 1,
        Material::WhiteBanner => 16,
        Material::OrangeBanner => 16,
        Material::MagentaBanner => 16,
        Material::LightBlueBanner => 16,
        Material::YellowBanner => 16,
        Material::LimeBanner => 16,
        Material::PinkBanner => 16,
        Material::GrayBanner => 16,
        Material::LightGrayBanner => 16,
        Material::CyanBanner => 16,
        Material::PurpleBanner => 16,
        Material::BlueBanner => 16,
        Material::BrownBanner => 16,
        Material::GreenBanner => 16,
        Material::RedBanner => 16,
        Material::BlackBanner => 16,
        Material::BeetrootSoup => 1,
        Material::SplashPotion => 1,
        Material::LingeringPotion => 1,
        Material::Shield => 1,
        Material::Elytra => 1,
        Material::SpruceBoat => 1,
        Material::BirchBoat => 1,
        Material::JungleBoat => 1,
        Material::AcaciaBoat => 1,
        Material::DarkOakBoat => 1,
        Material::TotemOfUndying => 1,
        Material::KnowledgeBook => 1,
        Material::DebugStick => 1,
        Material::MusicDisc13 => 1,
        Material::MusicDiscCat => 1,
        Material::MusicDiscBlocks => 1,
        Material::MusicDiscChirp => 1,
        Material::MusicDiscFar => 1,
        Material::MusicDiscMall => 1,
        Material::MusicDiscMellohi => 1,
        Material::MusicDiscStal => 1,
        Material::MusicDiscStrad => 1,
        Material::MusicDiscWard => 1,
        Material::MusicDisc11 => 1,
        Material::MusicDiscWait => 1,
        Material::MusicDiscPigstep => 1,
        Material::Trident => 1,
        Material::Crossbow => 1,
        Material::SuspiciousStew => 1,
        Material::FlowerBannerPattern => 1,
        Material::CreeperBannerPattern => 1,
        Material::SkullBannerPattern => 1,
        Material::MojangBannerPattern => 1,
        Material::GlobeBannerPattern => 1,
        Material::PiglinBannerPattern => 1,
        Material::HoneyBottle => 16,
        _ => 64,
    }
}
